<template>
    <div id="navigation-bar">
        <header>
            <nav>
                <ul id="navigation-bar-list">
                    <li>
                        <router-link to="/">数据导航</router-link>
                    </li>
                    <li>
                        <router-link to="/DataDnalysis/">描述性分析</router-link>
                        
                    </li>
                    <li>
                        <router-link to="/ContactAuthor">联系站长</router-link>
                    </li>
                </ul>
            </nav>
        </header>
        
    </div>
</template>

<script>



export default {
    name: 'NavigationBar',

    data() {
        return {
            
        };
    },

    mounted() {
        
    },

    methods: {
        
    },
};
</script>

<style scoped>
#navigation-bar {
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 5%;
    background-color: rgba(46, 46, 46, 0.8);
    box-shadow: 0px 3px 5px rgb(96, 96, 96);
    z-index: 10;
}


#navigation-bar-list {
    display: flex;
    list-style-type: none;
    position: absolute;
    left: 20%;
    width: 60%;
    height: 100%;
    padding: 0px;
}


li {
    display: inline-block;
    flex: 30%;
    width: 100%;
    height: 100%;
}


li a {
    text-decoration: none;
    display: block;
    font: bold 15px Sans-serif;
    color: rgb(255, 255, 255);
}


li a:hover {
    text-decoration: none;
    display: block;
    height: 50%;
    font: bold 15px Sans-serif;
    color: rgb(65, 184, 131);
    border-bottom: 3px solid;
    padding: 3px 0px;
    margin: -5px 5px;
    cursor: pointer;
    user-select: none;
}


li a.router-link-exact-active {
    text-decoration: none;
    display: block;
    height: 50%;
    font: bold 15px Sans-serif;
    color: rgb(65, 184, 131);
    border-bottom: 3px solid;
    padding: 3px 0px;
    margin: -5px 5px;
    cursor: pointer;
    user-select: none;
}

</style>
